move main.lua up to the top level; create conf.lua