Added basics.py

Just a few simplistic python classes.