Added pycharm files, reformatted the code to have the correct number of indent spaces, and optimized the imports.