Clean codes and update models

Clean codes according to PEP8.
Update models attrs.