integrated frontend code into netty server so that netty can server all the static resources