Added main entry and documentation