Changing to use sqlite and ssl