Documenting/refactoring

deleted some unecessary files and added documentation where i felt it
was needed.