finished up some more routes; aded app query param. fixed mongo schema bug