refactored mid-sized parts to parts.py ... some UI tweaking
fixing UI layout