More mechanics have been added from the old engine. Some bugs fixed.