Initial commit. Added shared.c for writing common methods and types.