styling tweaks
adding basic API for posts index and post show