Added full documentation

Also added a minified version