inital base common framework

And some basic testing framework