first commit

A very rough code. A skeleton, to say. Needs changes.