Change code to object oriented
Function order