Adding main app behaviours