multi main

multi main feature:
made some tests ..
it seems to work..
now ```options.main``` is ```string``` | ```[string]```
what do you think