Added sql lite support and contract class.