must setup connection on startup
block belongs to a site
moved layout into separate class
add handler