Added main
Added feedback function