Refactoring

 - add Framework to hold common files
 - move threading primitives into own namespace
 - remove unneeded projects