moved extensions to lib
moved extensions to lib