re-organized folder structure and build structure of mappedinapi