Implemented generic package handler, mongodb connection, tgz handler