a simple but useful manage framwork by python