added nility check to post controller
removed domain redirection
removed PlainPost creation from rails app
ported layout to bootstrap and cleaned up many files