finished beta version 2. added settings form