add debug flag
fix solution and project
delete unused sources