Initial commit with Sam's original code and MIT License