Added exception classes
Improved Time was last method logic
Updated composer