First commit

This is the original code