Add tests
Ignore vendor files
Make router optional