App and filters

App logic and a few filters