added first version of codebase (not fully working yet)