Initial commit

Working code