separated salt.jl into main part and examples