Initial working version with Sequel backend