Barebones session and sql handling

Very basic session and sql handling files added for testing purposes,
but will need further development before can be used.