SMART AI V2

All the changes made so far