Updated database Methods and created layouts