Greg,
I'm not sure exactly what the question is, but I'll give it a try anyway...
First, you can reference the Commerce database from any app including
your own, just by using the following connection string in the
web.config file:
<add key="ConnectionString" value="server=MachineName\ServerName;Trusted_Connection=true;database=Commerce" />
Next, to use a different namespace declaration, replace the 'ASPNET.StarterKit.Commerce' with 'Gallery_EM', so you'll have
Gallery_EM.ProductsDB products = new Gallery_EM.ProductsDB();
But, there's more... You'll need to recompile after doing that,
and any other code involved will need to be referencing the same
namespace.
jake