Moved normalize into elements. Worked on function for creating lists of extends.