ops (operations map) is not being initialized and throws a null pointer error
created new class to handle the console application