Refactor to controller pattern; add support for JHD1313M1
v0.8.30