Fix issue with route optional
Add tests
Remove unnecessary files
update ignore ignore list
Update docs