* updated gitignore
* cleaned up code