added contact logic to obstacles and character + cleaned up workspace