Initial import from old old bennu-core and fenix-web-framework