added edit student/contact functionality, refactored languages and relations into contact class methods