properties and constructor for query class
add bootstrap