Refactor objects

I hope I haven't broken anything. Anyone wish to confirm this?
to be consistent cl should be no_unk_objects and no_theme_objects and it should be uint8. (The uint8 part is important as it was the cause of the big bug before)