update doc
using DirectionSystem for gravity
refactor due to changes