Added PyCharm project. Added some tests.