Use a more standard directory structure
Move core files into lib directory
Fix import path
Same with modules