Abstract layer for mysqli and creating queries with placeholders