move contents of core package to lib
0.3.0