fixed missing getline linker error
cleaned up whitespace isues using uncrustify
added an enviroment setup script and code formatting cleanup tools