Moved all functions to common library
Continue refactoring; started tests
More tests
5 Tests passing
9 tests passing
11 tests
Launch bugs fixed