Customitems

This is the preliminar update for custom items. I fixed a lot of things and is ready for testing. Some features are still missing but they're on the road for fix.