Project structure refactoring. Add file opening, add ht files parser