Added abstract class of beizer curve