Added basic model for logging
Made last commit work