added factions
Added json lib, API's and Thread