Removing unneeded lib, adding in the routes for the API.