refactored routes and handlers, removed permission
permissons are back, role based
add generic resource action handlers
refactor
update to cores 0.7