Created abstract BaseBox and BaseConfig

Already tested locally, no problems and nothing changed in current API.

BaseConfig is WIP, ideas?