modified flask to work with the quotes and players apis, restructured