moved config import to modules
syntax bug fixed