Move inspector into it's own file