general code cleanup
fix warnings
moved WhiteboardTests into common directory