updated .ruby-version to match gemfile
refactoring rspec tests and cleaning up the Post api
created layout? method to decide whether or not apply a layout based on request status
updated test specs
removed grid helper and instead used CSS rules for creating the grid