Refactored skeleton and added log parsing.