added first branch and some file

I did some stuff, code is working. Please add to master code.