First Mile stone

Finished all the basic function