Change the urls import line. Fix #6
adapted models to pep8