refactor
let physics handler serialize itself
let grid serialize itself