Refactored the SLA modules and samples