added admin template, improved order model