More work on obstacle class

added some physics, working on collision dynamics