Reorganizes lib structure. Adds SAMA README.