Multi-Component Optimization and Efficient Deployment of Neural-Networks on Resource-Constrained IoT Hardware