added capture physics and keyboard controls
cleanup