This is just a random code to implement basic activeRecord etc.