move generation related files into seperate lib folder
seperate folder for cache files
also update the cache file path in generate.php
seperate folder for license
ignore deploy directory