refactored: moved rest logic to rest_handler on anguine lib
refactored: changed application name to template