Added object and behavior aspects. added necessary functions to each