feat: add functions for objects. minor common module refactor