- removed not needed files
- added fixes and fallback cases around the app regarding warnings,
  undefined variables, other notices from php.