Started writing documentation. Changed project structure.