Added some method declarations. Cleared some useless commented methods from the original code.