Added unit tests and converted into Bower project