config refactor, rows & cols are now read from config file.