Add API module with initialized flask application.