Wrote initial batch of the code.