(cleanup) modularizes ionic folder