add application migration library to plugin constructor