Added proper serialisation to models
Renamed template file extension to .mustache