Added some architecture notes
Fixed the minification. Added some more documentation.