change to using predefined quotes, add sql schema