sqlite data access layer
basic message in/out prototype