A bit better logging and error handling

Also removed useless cached_property class