Inheritance should be working correctly now (commented all other code) + changed coding style