Changed folder structure and converted the template loader and status logger to modules