update profile structure and added a fake DB file for testing