Cleaned up

Remove useless files, organized into directories, added some comments.