moved application code into the www folder
deleted everything in www directory
updated the entire code base, with my working code for 000webhost.com  (removed login credentials from the sourcecode... they are still there in the hosted code, but not in the publicly hosted code. Next version would ideally use heroku toolbelt to solve this problem)