Change some members to free functions
Convert more members to free functions
Make getRate a free function
Move items to STAmount.cpp and STAmount.test.cpp