init visibility module
return visibility layer upon checkin
error handling
whitespace
don't require db module directly