Added bounds check
Added csv database controller
Changed database controller interface
Refactored database control
Removed unused property
Added databases tab control