updated structure, npm modules and readme