removed useless fields
made classes more extendable
made classes to build controls more extendable