Refactored page after uploading to servlet and added mailing EJB (closes #2).