Code refactoring. Extracted helper and data_mapper_setup to individual files. Created app folder.