Moved system over to sqlite