clean up code, remove unused foobar class