Added first version of source files. Some renaming needed...