moved sql server out into separate file

Change-Id: I9e7476f7d8d5dcab97f5a62038857b2187b75fe8