Add media
Update glhck
Update prototyping code