Working on console app. Functionality will be moved into the lib later