         if !result
           (if routes['404'] then a2f(routes['404']) else empty)(current)
 
+  #@note not implemented
   log: false
+  #adapter for application @see adapter documentation
   adapter: null
+  #boolean
   running: false
+  #route object
   route: {}
   run: (options = {}) ->
     @running = true

    @args = args
    true


SiriusApplication =
  RouteSystem:
    create: (routes) ->
      current = prev = window.location.hash

      is_f = (f) ->
        Object.prototype.toString.call(f) == '[object Function]'

      #[Controller, "method"] => Controller[method]
      a2f = (a) ->
        throw "#{a} must be array or function" if Object.prototype.toString.call(a) isnt '[object Array]'

        throw "Action must be a Function" if Object.prototype.toString.call(f) isnt '[object Function]'
        f

      is_custom_event = (str) ->
        str.indexOf(":") != -1

      #TODO: custom event support
      for url, action of routes when url.indexOf("#") != 0 && url.toString() != "404"
        do (url, action) =>
          if is_custom_event(url)
            throw "Not supported event type for #{url}"

          z = url.match(/^([a-zA-Z]+)\s+(.*)/)
          event_name = z[1]
          selector = z[2]
