SMS: Immersed Lagrangian Floer theory