Integrated admin panel

All code modularized , testing and debugging some functions remain