adding api controller and tweaking models