Added all methods and attributes for the line class, fixed map class