Refactor api routes, migrate releases view to angular