Created controller methods for Orders API. Set up HTML and JavaScript structure