Updated SQL, Entities. Started on XML schemas