Factory: extract non web-specific methods
wip: setup