Added initial beginning of code, pulling it from old repo it didn't belong in.