updated to work with 0.4x (new method of creating routes)
removed deprecated callbacked property for 0.4x compatibility