Add code and samples

Currently not checked to make sure I have included everything