adds gui core
adds methods to gui controls