Converted posts/* compiling function to bind syntax, added cabal file