Add charset for text files
Change the lib file location to make deployment easier