Added stuff to .gitignore
Removed unneeded code
Cleaned up public API a bit