first upload

only some functions, no structure yet