add lib, change dependencies and app bootstrapping