Add fmt and test scripts
add initial tie package