Added first draft of source code