Adding course entity and API