Added sql script that creates a primary database