Remove flash messages
Add initial tests
Improve tests
Add tests for shortener, refactor overall code