added lib and media along with main code