Develop basic API infrastructure.  Refactor to remove unnecessary code.