added *.lo .libs
removed unused code