Coding standards

define method visibility, add newline at the end of files
Merge pull request #1 from JedenWeb/patch-1

Coding standards
Fix attaching routers

I didn't find appropriate way to provide service definitions in
previous implementation. This implementation uses only service name
Merge pull request #2 from JedenWeb/patch-2

Fix attaching routers