Made classes more testable, added tests, added composer, added Pimple