[#43] Initial working prepared statement priming for patterns
[#43] A few clean ups