Self hosted video portal based on rails and mongodb