A simple console application using scala