Adding first batch of unfinished code.