added comments and moved imports to header