Added model loading code. Mine is better than FML.