added main src code without config values