Cleaned files and added documentation

Added some initial documentation