Cleaned a bit the config and server base
More config enhancements
Image rotation feature
Api stubs, TBD
Cleanup. Rotate support and API WIP
Port flag