Refactored code

changes include:
1. updated makefile to link files properly
2. removed some whitespace
3. seperated `ConnObj.h` into `ConnObj.h` and `ConnObj.cpp`
4. put testing html files into a folder called `www`
5. misc other changes