optimized code in pycharm for layout and moudule imports.