Integrate Extendable
Allow $popple->db as an alternative to $popple['db']
Change functions to match PSR-1