Move config and scripts under separate dir, refactor dockerfile