Initial commit.

From base code from 55Social core