Make (mostly) runnable (hopefully)

 *  Moved templates to their own files so that they can be compiled
    properly server-side.

 *  Wrapped the template insertion code in a Meteor.isClient if
    statement - this caused the crash on the server.