docs & util structure, some size optimations