1. added required folders
2. added apis in js