added basic api controller and posts api