Moved SqlTemplate to core package

moved package