Compile as static library

remove test projects and logger