First version of console application working