Some minor refactoring and more comments
Some minor refactoring and more comments

AmesianX/libdeep,freakynit/libdeep,freakynit/libdeep,caidongyun/libdeep,shushanbj/libdeep,caidongyun/libdeep,freakynit/libdeep,caidongyun/libdeep,shushanbj/libdeep,shushanbj/libdeep,AmesianX/libdeep,AmesianX/libdeep