Code cleanup, remove type info and add recenter command