Added build config and main fn.