Added header files and created procedural methods