This PR logically separates out parts of the code to their own crates. This will be useful for future Tauri App development.