Big fixes for API, reverted .gitignore (I'm learning) and removed unused jQuery