Added main script
First draft documentation