Changed Line class to template class.
Modified around TextFile class.
Added Settings class.
Added save() method to TextFile class.
Refactoring.
Fixed compile error on Linux environment.