Implemented Debug class

For easier release building
Implemented updated DB layer on IGC import

Implemented updated DB layer on IGC import