Initial create class and add method using prototype