Merge pull request #2 from prakashpp/master

Validate domain name
Add celery and separate tasks to file
Flash errors when appropriate