Cleaned up code base by organizing everything into python packages.