added auto registering and routing
0.6.0