First commit

The initial realization of the basic functions