adding user guide and small fixes