Wrote first version of api. Tests to come soon.
Renamed outer social math to src.