refactored daSQLapp.cs, closer to actually working