Fixed some issueswith project, added cross origin request support