Tweaked code and added comments!

Ready for first public release