31000 line of code is not a big task for any programmers because I am just a moderate level programmer and writing 1000 to 2000( or may be more then that ) line of code is daily time table so I think writing 31000 line for a revolutionary technology is not behind our imagination. its possible to do that may he had some assistance or if he was alone then also writing 31000 line would hardly 1 month and for logics and algorithms and testing I will give him 1 year to write those and I think its enough