For Testing purpose only
I implemented the all functions through the test dirctory and main directory