Cleaned up code. removed unneeded files