Move lib to a package

Now powered by Static Engine