Adding main app file and counter model.