Added console app, Fixed codestyle