Abstracted file loading using adapters
Fix loading errors
Add import functionality