Added api controllers and actions.
Finished api calls
Merge pull request #10 from bdsimmons/api

Added api controllers and actions.