dont render layout if ajax
added controller method to render 404s
added posts controller, model, and routes

added posts helper AND controller, model and routes
added comments controller, model, and routes