[#3] Sett & Charles - refactoring db persistence loop and adding admin subapplication