business; settings (added)

edited database; connection also to work with business layer.
connected settings interface with everything