Allowed creation as runnable jar. Added InstanceOf to enhance
readability