changes in Physic.cs and added Config.cs