changes 21-10-2014

added: margin in gradient
added: better interface hierarchy