You should take a look at the FPS template. You could modify that as a starter and then move on from there.