move main file to lib
1.0.0