Create the basic core class

This file include the basic ui functionalities.As a abstract class, different kinds of ui containers should be expanded on it.