cleaned up, moved mediaembed library to libraries