Removed stuff that shouldnt be here.

- Unused methods removed.
- Methods that should be in separate file removed.
- Cohesive element should be in its own file.
Methods removed from inp_parser added here

These methods are solely use for this purpose and should therefore not
be in the general inp_parser file. These need to be slightly amended to
make them work.