First version: Basic Error handling, just BaseException is used at this moment