Changed copyrights and main class to use Settings class