Refactor some packages, fix AE submodule issue.
Initial support for Thermal Expansion (untested)