added release api
added first step of releases api
fixing errors
fixing deployment errors