Merged with changes in sl_model
Merged changes that put the gemspec in an external file