Initial commit, copy from AdiaQC and work from there.