Added all code
Added database scripts