ticket:1 refactored code, added base.html, admin static files