adds models package and Chart abstract class