project added to PyCharm
minor fixes for compilation to succeed