add posts api controller and update config file to require all files in api directory