Assignment to create singleton class and functions