Replace behaviour_info fun with callback attributes. Improve hrl files