Removed setId method
Added debug bar
Added base factory