Added database skeleton, modified a few UI's