Bump version number to 0.5.0
Fix code style warning
Fix type path issues
You can also use your local clone with git send-email.