added base module, prepared for standalone module