Fixed code, changed directories
almost final code except path for images