changed handling of include libraries
excluded some unnesessary files