Base URL for REST API is now a constant. Closes #6