Add swagger library and test library