add .idea
first tests
solve many bugs and bup current version