add composer files; add connection class