Entry for all API calls

Introduces an "api" package that will hold the implementation for all
API calls and provides a "front" module for providing the routing.