Improved coding conventions and added main type hints, fixed a bug requiring "callable" instead of "trackable"