Restructured main.py
Added Building and Item baseclasses