Added missing pygal dependency
Fixed imports and added blank line for codestyle