Removed spaces from directories, fixed json error, updated server api