Started to move collections to sql