Some changes.
Made classes extend FunctionsClass instead of implementing it (Changing
it from an interface to a class)
Got rid of switch statement, may come back.