better error handling, add text option, clean up public api
add gitignore and grunt task for minifying