Restructure module code. Remove logic from template file via a Block class. Introduce composer installe. Change file locations in repo