cleaned up .gitignore; added libs; general improvements to initial code