Added main function and warp namespace