Separated header file physica.h

Part of physica.h content has been put in ui.h