Added a api handler for adding projects