Create modelSource object from parsing