fix drag/drop bug; move view to engine
cleanup