backup of a working version - pre refactoring
seems to work well now even at high velocities
part spawning version mostly working
license change