Add app config, tests, offer model. WIP