Huge changes!

Changed output to log files. Introduced use of BOOST libraries. Introduced ini file handling. Created and implemented consistency checking classes. Removed some cpp files when implementation in header was trivial.