Adding support for children routes to restrict.
Removed useless files.
Little refactoring done.