pcc with 2 wan that connected to mikrotik through switch

In terms of using vlans, here is the best reference…
http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1

By the way can you confirm you have two lines from the switch going into two different ports on the router?