Adding license file, moving API calls into an API controller