Initial commit

Include the first draft of functions