[update] all library refactored. added a more complete test suite. extra_attributes property in the rest_routes function. bug of template_path. new metaclass.