Added Flat profile page and DBManager class