Session is now stored in cookie and restored on MDSAPI initialization
Optimized some conditions
Implemented setter for BaseURL and API Tokken and added init() function
for basic API initialization.
Moved MDSAPI initialization to top, so the API is initialized before
chat script
Added gitignore due to Eclipse generates project files
Separated API initialization