organized some code
added new git ignore