Fixed database structure issue
Added cleanall target for also removing program generated files
Added base version registering support