add guard-minitest for test
add lib file structure