Restructuring of library, HTML5Media updated for full functionality