Refactor cat example into seperate file
Refactor calculator example into a seperate file